package com.qfedu.sem.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;

@Entity
@Table(name="bug_project")
public class Project {
	private static Logger LOG = LogManager.getLogger(Project.class);

	@Id
	private String id; //id

	@Column(length = 50)
	private String name; //名称
	
	public Project(String id, String name) {
		super();
		this.id = id;
		this.name = name;
	}

	public Project() {
		super();
		// TODO Auto-generated constructor stub
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
